package com.wzl.demo_07_03;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity {

    private TextView tv1;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        tv1 = (TextView)findViewById(R.id.task_tv_1);
        tv1.setText("taskid:"+this.getTaskId());



    }
    public void go(View view){
        startActivity(new Intent(this,SencondActivity.class));
    }
}